package com.iplay.thezen.proxy;

/**
 * @author dangwu
 * @since 2021/9/3 4:30 下午
 */
public class TestProxy {
    public static void main(String[] args) {
        Subject subject = new RealSubject();
        Proxy proxy = new Proxy(subject);
        proxy.request();

        ProxyUpd proxyUpd = new ProxyUpd(2);
        proxyUpd.request();
    }
}
